<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<meta name="description" content="">
	<meta name="author" content="">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<title>{$site_seo_title}</title>

	<!-- Custom fonts for this template -->
	<link rel="stylesheet" href="__STATIC__/iconfont/iconfont.css" />

	<!-- Custom styles for this template -->
	<link href="__STATIC__/danceAdmin/css/bootstrap.min.css" rel="stylesheet">
	<link href="__STATIC__/danceAdmin/css/dance-admin.css" rel="stylesheet">
</head>
<body id="page-top">

<!-- Page Wrapper -->
<div id="wrapper">

	{if condition="$isSelfmenu == 1"}
	{include file="../application/admin/view/public/menu_danceadmin_selfmenu.html" /}
	{else /}
	{include file="../application/admin/view/public/menu_danceadmin.html" /}
	{/if}

	<!-- Content Wrapper -->
	<div id="content-wrapper" class="d-flex flex-column">

		<!-- Main Content -->
		<div id="content">

			<!-- Topbar -->
			<nav class="navbar navbar-expand navbar-light bg-white topbar mb-1 static-top">

				<!-- Sidebar Toggle (Topbar) -->
				<button id="sidebarToggleTop" class="btn btn-link0 d-md-none0 rounded-circle mr-3">
					<i class="iconfontzz icon-bars"></i>
				</button>
				<!-- Sidebar Toggle (Fold) -->
				<button id="sidebarToggleFold" class="btn btn-link d-md-block rounded-circle mr-3" style="display: none">
					<i class="fa fa-arrows"></i>
				</button>

				<!-- Topbar Navbar -->
				<ul class="navbar-nav ml-auto">

					<li class="nav-item dropdown no-arrow">
						<a class="nav-link dropdown-toggle J_ajaxSend" href="{:url('admin/index/delCache')}" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
							<i class="iconfontzz icon-shanchu"></i>
						</a>
					</li>
					<li class="nav-item dropdown no-arrow">
						<a class="nav-link" href="{:url('home/index/index')}" target="_blank">
							<i class="iconfontzz icon-home"></i>
						</a>
					</li>
					<!-- Nav Item - Search Dropdown (Visible Only XS) -->
					<li class="nav-item dropdown no-arrow d-sm-none">
						<a class="nav-link dropdown-toggle" href="#" id="searchDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
							<i class="iconfontzz icon-sousuo"></i>
						</a>
						<!-- Dropdown - Messages -->
						<div class="dropdown-menu dropdown-menu-right p-3 shadow animated--grow-in" aria-labelledby="searchDropdown">
							<form class="form-inline mr-auto w-100 navbar-search">
								<div class="input-group">
									<input type="text" class="form-control bg-light border-0 small" placeholder="Search for..." aria-label="Search" aria-describedby="basic-addon2">
									<div class="input-group-append">
										<button class="btn btn-primary" type="button">
											<i class="fas fa-search fa-sm"></i>
										</button>
									</div>
								</div>
							</form>
						</div>
					</li>

					<!-- Nav Item - Alerts -->
					<li class="nav-item dropdown no-arrow mx-1">
						<a class="nav-link dropdown-toggle" href="#" id="alertsDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
							<i class="iconfontzz icon-bell"></i>
							<!-- Counter - Alerts -->
							<span class="badge badge-danger badge-counter"></span>
						</a>
						<!-- Dropdown - Alerts -->
						<div class="dropdown-list dropdown-menu dropdown-menu-right shadow animated--grow-in" aria-labelledby="alertsDropdown">
							<h6 class="dropdown-header">
								Alerts Center
							</h6>
							<a class="dropdown-item d-flex align-items-center" href="#">
								<div class="mr-3">
									<div class="icon-circle bg-primary">
										<i class="fas fa-file-alt text-white"></i>
									</div>
								</div>
								<div>
									<div class="small text-gray-500">December 12, 2019</div>
									<span class="font-weight-bold">A new monthly report is ready to download!</span>
								</div>
							</a>
							<a class="dropdown-item text-center small text-gray-500" href="#">Show All Alerts</a>
						</div>
					</li>

					<div class="topbar-divider d-none d-sm-block"></div>

					<!-- Nav Item - User Information -->
					<li class="nav-item dropdown no-arrow">
						<a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
							<span class="mr-2 d-none d-lg-inline text-gray-600 small">{$admindb['username']}</span>
							<img class="img-profile rounded-circle" src="{$moondb['avatar']}" style="display: none">
						</a>
						<!-- Dropdown - User Information -->
						<div class="dropdown-menu dropdown-menu-right shadow animated--grow-in" aria-labelledby="userDropdown">
							<a class="dropdown-item" href="#">
								<i class="fas fa-user fa-sm fa-fw mr-2 text-gray-400"></i>
								Profile
							</a>
							<a class="dropdown-item" href="#">
								<i class="fas fa-cogs fa-sm fa-fw mr-2 text-gray-400"></i>
								Settings
							</a>
							<a class="dropdown-item" href="#">
								<i class="fas fa-list fa-sm fa-fw mr-2 text-gray-400"></i>
								Activity Log
							</a>
							<div class="dropdown-divider"></div>
							<a class="dropdown-item" href="#" data-toggle="modal" data-target="#logoutModal">
								<i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"></i>
								Logout
							</a>
						</div>
					</li>

				</ul>

			</nav>
			<!-- End of Topbar -->

			<!-- Begin Page Content -->
			<div class="container-fluid">

				<!-- Page Heading -->
				<h1 class="h3 mb-4 text-gray-800" style="display: none"></h1>
				<section class="page-header">
					<div class="row">
						<div class="col-sm-12">
							<div class="breadcrumb-home">
								<nav aria-label="breadcrumb">{block name="breadcrumb"}{/block}</nav>
							</div>
							<h2>{block name="pageheader"}{/block}</h2>
						</div>
					</div>
				</section>

				{block name="content"}{/block}

			</div>
			<!-- /.container-fluid -->

		</div>
		<!-- End of Main Content -->

		<!-- Footer -->
		<footer class="sticky-footer bg-white">
			<div class="container my-auto">
				<div class="copyright text-center my-auto">
					<span>Copyright &copy; Your Website 2020</span>
				</div>
				<div>
					{$wind_spend}
				</div>
			</div>
		</footer>
		<!-- End of Footer -->

	</div>
	<!-- End of Content Wrapper -->

</div>
<!-- End of Page Wrapper -->

<!-- Scroll to Top Button-->
<a class="scroll-to-top rounded" href="#page-top">
	<i class="iconfontzz icon-jiantou-shang"></i>
</a>

<!-- Logout Modal-->
<div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
	<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<h5 class="modal-title" id="exampleModalLabel">Ready to Leave?</h5>
				<button class="close" type="button" data-dismiss="modal" aria-label="Close">
					<span aria-hidden="true">×</span>
				</button>
			</div>
			<div class="modal-body">Select "Logout" below if you are ready to end your current session.</div>
			<div class="modal-footer">
				<button class="btn btn-secondary" type="button" data-dismiss="modal">Cancel</button>
				<a class="btn btn-primary" href="{:url('admin/login/logout')}">Logout</a>
			</div>
		</div>
	</div>
</div>

<!-- Bootstrap core JavaScript-->
<script src="__STATIC__/danceAdmin/vendor/jquery/jquery.min.js"></script>
<script src="__STATIC__/danceAdmin/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

<!-- Core plugin JavaScript-->
<script src="__STATIC__/danceAdmin/vendor/jquery-easing/jquery.easing.min.js"></script>

<!-- Custom scripts for all pages-->
<script src="__STATIC__/danceAdmin/js/dance-admin.js"></script>

<script type="text/javascript" src="__STATIC__/danceui/js/jquery.form.js"></script>
<script type="text/javascript" src="__STATIC__/plugins/layer/layer.js"></script>
<script type="text/javascript" src="__STATIC__/danceui/js/danceui.js"></script>
<script type="text/javascript" src="__STATIC__/danceui/js/danceui-manage.js"></script>
<script type="text/javascript">
layer.config({
	extend: 'kswind/style.css',
});
</script>

{block name="script"}{/block}
</body>
</html>